﻿<UserControl x:Class="OIManager.Views.AddSourceView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <StackPanel Margin="4">
        <Grid Margin="12,8,4,8">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="64" />
                <ColumnDefinition Width="Auto" />
            </Grid.ColumnDefinitions>
        
            <TextBlock Text="Name:" Grid.Row="0" Grid.Column="0"/>
            <TextBox Name="Name" Width="200" Grid.Row="0" Grid.Column="1" Margin="8,0,0,0" />

            <TextBlock Text="Filter:" Grid.Row="1" Grid.Column="0"/>
            <TextBox Name="Filter" Width="200" Grid.Row="1" Grid.Column="1" Margin="8,0,0,0" />
        </Grid>

        <StackPanel Orientation="Horizontal" Margin="0,12,0,4" HorizontalAlignment="Right">
            <Button x:Name="Ok"
                    Content="OK"
                    Width="64"
                    Margin="0,0,8,0"/>

            <Button x:Name="Cancel"
                    Content="Cancel"
                    Width="64"
                    Margin="0,0,4,0"/>
        </StackPanel>
    </StackPanel>
</UserControl>